package org.example.mapper;

import org.example.entity.District;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 地区表 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2025-05-09
 */
public interface DistrictMapper extends BaseMapper<District> {

    List<District> selectProvince();

    List<District> findChildrenByParentName(int parentId,int level);
}
